/*
 * This file is part of ksPlatform
 * 
 * Copyright (c) 2014-2015
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at 97041437@qq.com.
 */
package cn.com.ksplatform.install.service;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;

import cn.com.ksplatform.install.model.InstallInfo;

/**
 * 系统安装服务接口
 * @author Simon
 *
 */
public interface IInstallService {
	/**
	 * 测试数据库配置是否正确
	 * @return
	 */
	public boolean testConn(InstallInfo info) throws SQLException,ClassNotFoundException;
	
	/**
	 * 系统安装
	 * @param info
	 */
	public void doInstall(InstallInfo info,String savePath) throws FileNotFoundException, IOException;
}
